package main

import (
	"fmt"
	"gitee.com/venki/go_study_accumulate/src/firstpb"
)

func main() {
	NewPersonMessage()
}

func NewPersonMessage() {
	pm := firstpb.PersonMessage{
		Id:         1234,
		IsAdult:    true,
		Name:       "venki.chen",
		LuckNumber: []int32{1, 2, 3, 4, 5},
	}
	fmt.Println(pm)

	pm.Name = "poetchao"

	fmt.Println(pm)

	fmt.Printf("the id is %d\n", pm.GetId())
}
